package com.legendshop.oa.api;

import com.legendshop.oa.handler.impl.ContextServiceLocator;
import com.legendshop.oa.model.AdminMessageDtoList;
import com.legendshop.oa.service.MessageService;

/**
 * 后台菜单提示
 * @author root
 *
 */
public class HeadMenuApi {
	
	private static MessageService messageService;
	
	static{
		messageService=(MessageService) ContextServiceLocator.getInstance().getBean("messageService");
	}
	

	public static AdminMessageDtoList getMessage(){
		return messageService.getMessage();
	}
	
}
